﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _69重写练习2_飞机大战中的飞机
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            Plane plane = new EnemyPlane() { hp = 100 };

            while (plane.hp > 0)
            {
                plane.GetHurt(22);
            }
        }
    }
}